<%--
  Created by IntelliJ IDEA.
  User: guo
  Date: 2017/10/24
  Time: 11:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<h1 align="center">添加商品</h1>--%>
    <%--<form action="${pageContext.request.contextPath}/addServlet">--%>
        <%--商品名称：<input type="text" name="name"><br>--%>
        <%--商品市场价格：<input type="text" name="mprice"><br>--%>
        <%--商品商场价格：<input type="text" name="sprice"><br>--%>
        <%--商品描述：<textarea name="desc" style="width:200px;height:80px;"></textarea>--%>
        <%--<input type="submit" value="提交">--%>
        <%--<input type="reset" value="重置">--%>
    <%--</form>--%>
<h2 style="font-size: 30px;margin:20px auto;padding-left: 600px">添加商品</h2>
<form action="${pageContext.request.contextPath}/addServlet">
    <table width="800px" style="margin: auto;text-align: right" border="0" cellspacing="0">
        <tr height="50px">
            <td  width="200ox">商品名称：</td>
            <td align="left"><input type="text" name="name" value=""></td>
        </tr>
        <tr height="50px">
            <td>商品市场价格：</td>
            <td align="left"><input type="text" name="mprice" value=""></td>
        </tr>
        <tr height="50px">
            <td>商品商场价格：</td>
            <td align="left"><input type="text" name="sprice" value=""></td>
        </tr>
        <tr height="50px">
            <td>商品描述：</td>
            <td align="left"><textarea rows="4" cols="30" name="desc" ></textarea></td>
        </tr>
        <tr height="70px">
            <td> <input type="submit" value="提交"></td>
            <td align="left" style="padding-left: 30px"><input type="reset" value="重置"> </td>
        </tr>
    </table>

</form>

</body>
</html>


